import sys


def judge_platform():
    if sys.platform.startswith('linux'):
        print('当前系统为 Linux')
        return "linux"
    elif sys.platform.startswith('win'):
        print('当前系统为 Windows')
        return "Windows"
    elif sys.platform.startswith('darwin'):
        print('当前系统为 macOS')
        return "macOS"
    else:
        print('无法识别当前系统')